import request from '@/utils/request'

export function addAccount (data) {
  return request({
    url: '/account',
    method: 'post',
    data
  })
}

export function delAccount (data) {
  return request({
    url: '/account',
    method: 'delete',
    data
  })
}

export function searchAccount (params) {
  return request({
    url: '/account/table/search',
    method: 'get',
    params
  })
}
